package com.fzj.example.proxy.dynamic;

/**
 * ClassName: ProxyMain
 * date: 2019/10/23 14:35
 * Description: TODO
 *
 * @author fanzj@bonree.com
 * @since JDK 1.8
 */
public class ProxyMain {
    public static void main(String[] args) {
        Handler handler=new Handler();
        UserService userService= (UserService) handler.newProxyIntance(new UserServiceImpl());
        userService.findUser("fzj");
    }
}
